package com.li.module.one.controller;import com.li.module.one.api.ModuleOneApi;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RequestMethod;import org.springframework.web.bind.annotation.RestController;/** * @author 李结强 * @description * @date 2022/7/15 */@RestController@RequestMapping(name="对外的pi", value="/foreignApi/")public class ForeignApiController implements ModuleOneApi {    @Override    @RequestMapping(name = "测试连通性",value = "TestingConnectivity",method = RequestMethod.GET)    public String testingConnectivity() {        return "通！通！通！";    }    @Override    public String testingConnectivity2(String str) {        String result = str.substring(4,5);        return result.toUpperCase();    }}